import routerPlaceholder from '../../views/layout/router-placeholder.vue'

let routers = {
  path: 'views',
  name: 'views',
  component: routerPlaceholder,
  redirect: {
    name: "viewTest"
  },
  children: [{
    path: 'viewsplit',
    name: 'viewsplit',
    component: () => import('@/views/views/viewsplit/index.vue'),
    meta: {
      activeMenu: 'viewsplit',
      title: '卷帘',
      icon: 'viewsplit',
      affix: true
    }
  },{
    path: 'overview',
    name: 'overview',
    component: () => import('@/views/views/overview/index.vue'),
    meta: {
      activeMenu: 'overview',
      title: '鹰眼图',
      icon: 'overview',
      affix: true
    }
  },{
    path: 'sync',
    name: 'sync',
    component: () => import('@/views/views/sync/index.vue'),
    meta: {
      activeMenu: 'sync',
      title: '多图同步',
      icon: 'sync',
      affix: true
    }
  },{
    path: 'clip',
    name: 'clip',
    component: () => import('@/views/views/clip/index.vue'),
    meta: {
      activeMenu: 'clip',
      title: '地表裁切',
      icon: 'clip',
      affix: true
    }
  },{
    path: 'test',
    name: 'viewTest',
    component: () => import('@/views/views/test/index.vue'),
    meta: {
      activeMenu: 'viewTest',
      title: '测试',
      icon: 'viewTest',
      affix: true
    }
  },]
}

export default routers
